package com.how2java.springboot.service;

import com.how2java.springboot.pojo.Category;
import com.how2java.springboot.util.Page4Navigator;
import org.springframework.data.domain.Pageable;

/**
 * Demo class
 *
 * @author zhuangzibing
 * @date 2019/11/13
 */
public interface CategoryService {
    public Page4Navigator<Category> list(Pageable pageable);

    public void save(Category category);

    public void delete(int id);

    public Category get(int id);
}
